package dbms.absyn;


public class Value {
	public int pos;
	public int number;
	public float doubleNum;
	public String str = null;
	/**
	 * INT = 4,  VARCHAR = 12 , DOUBLE = 8
	 */
	public int type = 0;
	
	public Value (int p, int i) {
		pos = p;
		number = i;
		type = 4;
	}
	
	public Value (int p, float d){
		pos = p;
		doubleNum = d;
		type = 8;
	}
	
	public Value (int p, String s) {
		pos = p;
		str = s;
		type = 12;
	}
}